package extra;

import constants.Constants;

public class ObjectId {
	
	private int objectId;
	
	public ObjectId(){
		this.objectId=Constants.NO_OBJECT_ID;
	}

	public int getObjectId() {
		return objectId;
	}

	public void setObjectId(int objectId) {
		this.objectId = objectId;
	}

	public boolean hasNoId() {
		if(this.objectId==Constants.NO_OBJECT_ID)
			return true;
		return false;
	}

	
	
	

}
